﻿export default [
  {
    path: '/user',
    layout: false,
    routes: [
      {
        path: '/user',
        routes: [
          {
            name: 'login',
            path: '/user/login',
            component: './user/Login',
          },
        ],
      },
    ],
  },
  {
    path: '/system',
    name: 'system',
    icon: '',
    access: 'access',
    routes: [
      {
        path: '/system/Admin',
        name: 'admin',
        icon: '',
        component: './System/Admin',
        access: 'access',
      },
    ],
  },
  {
    path: '/archives',
    name: 'archives',
    icon: '',
    access: 'access',
    routes: [
      {
        path: '/archives/ApiDetails',
        name: 'apiDetails',
        icon: '',
        component: './Archives/ApiDetails',
        access: 'access',
      },
      {
        path: '/archives/channel',
        name: 'channel',
        icon: '',
        component: './Archives/Channel',
        access: 'access',
      },
    ],
  },

  {
    path: '/order',
    name: 'order',
    icon: '',
    access: 'access',
    routes: [
      {
        path: '/order/channel',
        name: 'channel',
        icon: '',
        component: './order/channel',
        access: 'access',
      },
      {
        path: '/order/refund',
        name: 'refund',
        icon: '',
        component: './order/refund',
        access: 'access',
      },
    ],
  },
  {
    path: '/product',
    name: 'product',
    icon: '',
    component: './Product',
  },
  /* {
    path:'/member',
    name:'member',
    icon:'',
    component:'./Member'
  },*/
  // {
  //   path:'/order',
  //   name:'order',
  //   icon:'',
  //   component:'./Order'
  // },
  {
    path: '/classify',
    name: 'classify',
    icon: '',
    component: './Classify',
  },
  // {
  //   path: '/',
  //   redirect: '/Product',
  // },
  {
    component: './404',
  },
];
